package top.qingyunge.autumn.annotation;

import java.lang.annotation.*;

/**
 * 数据源切换注解
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface DatabaseConnect {
    /**
     * 数据源的 key
     */
    String value() default "primary";
}
